package com.tzbank.wisdom.controller;

import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tzbank.wisdom.consumer.CommonServiceScheduler;

@RestController
@RequestMapping("test")
public class TestController {
 
	@Resource
	private CommonServiceScheduler commonServiceScheduler;
	
	@GetMapping(value="/get")
	public void test() {
		Map<String, Object> reqMap = new HashMap<>();
		reqMap.put("business", "01");
		Map<String,Object> res = commonServiceScheduler.findByBusinessType(reqMap);
	
		System.out.println(res);
	}

}
